import request from '@/utils/axios';
import appName from "@/api/appName";

// 1.	获取抽取项信息
export function getProjectInfo(params) {
  return request({
    url: appName.AUSCONFING+'/aus/extractItemMain/getProjectInfo',
    method: 'get',
    params
  })
}

// 2.	保存编码映射项目信息
export function saveProjectInfo(params) {
  return request({
    url: appName.AUSCONFING+'/aus/codeMapMain/saveProjectInfo',
    method: 'post',
    data: params
  })
}

// 3.	保存编码映射项目信息
export function getExamProjectLibraryList() {
  return request({
    url: appName.AUSCONFING+'/aus/medicalLibrary/getExamProjectLibraryList',
    method: 'post',
  })
}
// 4.	保存抽取项信息
export function saveReferenceIntervalInfo(data) {
  return request({
    url: appName.AUSCONFING+'/aus/extractItemMain/saveProjectInfo',
    method: 'post',
    data
  })
}